package com.inspur.cmis.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.inspur.cmis.mapper.RewardPunishmentMapper;
import com.inspur.cmis.pojo.RewardPunishment;
import com.inspur.cmis.pojo.RewardPunishmentExt;
import com.inspur.cmis.service.RewardPunishmentService;
@Service
public class RewardPunishmentServiceImpl implements RewardPunishmentService{

	@Autowired
	private RewardPunishmentMapper rpMapper;

	@Override
	public List<RewardPunishmentExt> getRewardPunishmentList(Map map) {
		// TODO Auto-generated method stub
		return rpMapper.getRewardPunishmentList(map);
	}

	@Override
	public RewardPunishment getRewardPunishment(Map map) {
		// TODO Auto-generated method stub
		return rpMapper.getRewardPunishment(map);
	}

	@Override
	public int addRewardPunishment(RewardPunishment RewardPunishment) {
		// TODO Auto-generated method stub
		return rpMapper.addRewardPunishment(RewardPunishment);
	}

	@Override
	public int updateRewardPunishment(RewardPunishment RewardPunishment) {
		// TODO Auto-generated method stub
		return rpMapper.updateRewardPunishment(RewardPunishment);
	}

	@Override
	public int deleteRewardPunishment(String[] whkeys) {
		// TODO Auto-generated method stub
		return rpMapper.deleteRewardPunishment(whkeys);
	}
	

}
